package com.tc.demo.controller;

import com.tc.demo.service.Test1Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: tianchao
 * @Date: 2021/11/12 15:38
 * @Description:
 */
@RestController
public class Test1Controller {

    @Autowired
    private Test1Service test1Service;

    @GetMapping("/test1")
    public String test1(){
        return test1Service.test1();
    }
}
